//
//  ReceiveViewModel.h
//  YKMediator_ReceiveModule
//
//  Created by linghit on 2021/8/17.
//

#import <YKOCBaseClass/YKViewModel.h>

NS_ASSUME_NONNULL_BEGIN

@interface ReceiveViewModel : YKViewModel

@property (nonatomic, strong, readonly) RACCommand *listCommand;
///
@property (nonatomic,strong, readonly) RACCommand *saveCommand;
///
@property (nonatomic,strong,readonly) RACCommand *userInfoCommand;
///
@property (nonatomic, strong, readonly) RACCommand *uploadCellCommand;
///
@property (nonatomic, strong, readonly) RACSubject *refreshSubject;
///
@property (nonatomic, strong, readonly) NSMutableArray *lists;

@property (nonatomic, copy,readonly) NSString *uid;

- (instancetype)initWithToken:(NSString *)token platform:(NSString *)platform comId:(NSString *)comId;

- (void)getDetail:(NSIndexPath *)indexPath detailBlock:(void(^)(NSString *Id,NSMutableAttributedString *detailName,NSMutableAttributedString *price,NSString *createTime,BOOL isCell,NSMutableAttributedString *cellName,NSMutableAttributedString *collcetionName,NSString *title))detailBlock;
@end

NS_ASSUME_NONNULL_END
